package com.ruoyi.stuSys.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生学籍信息管理对象 stu
 * 
 * @author GG
 * @date 2024-08-21
 */
public class StuInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID（主键） */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 生源省份 */
    @Excel(name = "生源省份")
    private String provinceOfOrigin;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateOfBirth;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 院系 */
    @Excel(name = "院系")
    private String department;

    /** 入学分数 */
    @Excel(name = "入学分数")
    private BigDecimal entranceScore;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String personalIntroduction;

    /** 备用字段1 */
    private Long backup1;

    /** 备用字段2 */
    private Date backup2;

    /** 备用字段3 */
    private String backup3;

    /** 备用字段4 */
    private String backup4;

    /** 备用字段5 */
    private String backup5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentNumber(String studentNumber) 
    {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() 
    {
        return studentNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setProvinceOfOrigin(String provinceOfOrigin) 
    {
        this.provinceOfOrigin = provinceOfOrigin;
    }

    public String getProvinceOfOrigin() 
    {
        return provinceOfOrigin;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setDateOfBirth(Date dateOfBirth) 
    {
        this.dateOfBirth = dateOfBirth;
    }

    public Date getDateOfBirth() 
    {
        return dateOfBirth;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setEntranceScore(BigDecimal entranceScore) 
    {
        this.entranceScore = entranceScore;
    }

    public BigDecimal getEntranceScore() 
    {
        return entranceScore;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setPersonalIntroduction(String personalIntroduction) 
    {
        this.personalIntroduction = personalIntroduction;
    }

    public String getPersonalIntroduction() 
    {
        return personalIntroduction;
    }
    public void setBackup1(Long backup1) 
    {
        this.backup1 = backup1;
    }

    public Long getBackup1() 
    {
        return backup1;
    }
    public void setBackup2(Date backup2) 
    {
        this.backup2 = backup2;
    }

    public Date getBackup2() 
    {
        return backup2;
    }
    public void setBackup3(String backup3) 
    {
        this.backup3 = backup3;
    }

    public String getBackup3() 
    {
        return backup3;
    }
    public void setBackup4(String backup4) 
    {
        this.backup4 = backup4;
    }

    public String getBackup4() 
    {
        return backup4;
    }
    public void setBackup5(String backup5) 
    {
        this.backup5 = backup5;
    }

    public String getBackup5() 
    {
        return backup5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentNumber", getStudentNumber())
            .append("name", getName())
            .append("gender", getGender())
            .append("provinceOfOrigin", getProvinceOfOrigin())
            .append("nativePlace", getNativePlace())
            .append("dateOfBirth", getDateOfBirth())
            .append("major", getMajor())
            .append("department", getDepartment())
            .append("entranceScore", getEntranceScore())
            .append("photo", getPhoto())
            .append("phoneNumber", getPhoneNumber())
            .append("personalIntroduction", getPersonalIntroduction())
            .append("backup1", getBackup1())
            .append("backup2", getBackup2())
            .append("backup3", getBackup3())
            .append("backup4", getBackup4())
            .append("backup5", getBackup5())
            .toString();
    }
}
